<?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "collect".
 *
 * @property integer $id
 * @property integer $images_id
 * @property integer $user_id
 * @property integer $collect_time
 */
class Collect extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'collect';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['images_id', 'user_id', 'collect_time'], 'integer']
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'images_id' => 'Images ID',
            'user_id' => 'User ID',
            'collect_time' => 'Collect Time',
        ];
    }
}
